﻿@model LiteBlog.Models.PostCollectionModel

@{
    this.ViewBag.Title = "VijayT.com - a .Net Blog";
}
<html>
<head>
    <title>@ViewBag.Title</title>
    @if(Model.NextPageAvailable)
    {
        <link rel="next" href="@Model.NextPageUrl" />
    }
</head>
<body>
    @foreach (var post in Model.PostCollection)
    {
        <a href="@Url.Action("Index", "Post", new { id = post.FileID })">
            <h2>@post.Title</h2>
        </a>
        <div>
            @Html.Raw(post.HighlightedContents)
        </div>
    }
</body>
</html>


